<template>
  <FormItem
    :label="label"
    :prop="prop"
    :label-width="labelWidth"
    :rules="rules"
  >
    <slot></slot>
  </FormItem>
</template>

<script>
import commonItem from './commonItem'
import { FormItem } from 'view-design'
export default {
  name: 'slotItem',
  components: { FormItem },
  mixins: [commonItem]
}
</script>
